<?php /* Smarty version 2.6.14, created on 2015-01-14 18:20:44
         compiled from adminlog.index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'truncate', 'adminlog.index.html', 32, false),array('modifier', 'date_format', 'adminlog.index.html', 35, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="<?php echo $this->_tpl_vars['formAction']; ?>
" method="POST" <?php if ($this->_tpl_vars['is_validator']): ?> id="adminform" onsubmit="return Validator.Validate(this)" <?php endif; ?>>
<link rel="stylesheet" type="text/css" href="<?php echo @BASEURI; ?>
public/css/ui.datepicker.css"/>
<script language="javascript" src="<?php echo @BASEURI; ?>
public/js/ui.datetimepicker.js"></script>
<table border="0" class="search" cellspacing="0">
   	<tr>
    	<td class="searchlogo"></td>
        <td><?php echo $this->_tpl_vars['systemLang']['operate']; ?>
<input type="text" class="text" style="width:88px" name="s[description]" value="<?php echo $this->_tpl_vars['search']['description']; ?>
"/></td>
     	<td><?php echo $this->_tpl_vars['systemLang']['userName']; ?>
<input type="text" class="text" style="width:88px" name="s[user_truename]" value="<?php echo $this->_tpl_vars['search']['user_truename']; ?>
"/></td>
     	<td>URI:<input type="text" class="text" style="width:88px" name="s[query_uri]" value="<?php echo $this->_tpl_vars['search']['query_uri']; ?>
"/></td>
     	<td><?php echo $this->_tpl_vars['systemLang']['startTime']; ?>
<input class="text" style="width:120px" type="text" name="s[start_time]" value="<?php echo $this->_tpl_vars['search']['start_time']; ?>
" id="cdate_s"/></td>
     	<td><?php echo $this->_tpl_vars['systemLang']['endTime']; ?>
<input class="text" style="width:120px" type="text" name="s[end_time]" value="<?php echo $this->_tpl_vars['search']['end_time']; ?>
" id="cdate_e"/></td>
        <td><input type="button" class="button" name="ng" onclick="submitform('<?php echo @BASEURI; ?>
adminlog/index',false)" value="<?php echo $this->_tpl_vars['systemLang']['search']; ?>
" /></td>
    </tr>
</table>
<table width="100%" border="0" class="adminlist" cellspacing="0">
  <thead>
  <tr>
 	<th><input id="toggle" type="checkbox" value=""/></th>
    <th><?php echo $this->_tpl_vars['systemLang']['operate']; ?>
</th>
    <th><?php echo $this->_tpl_vars['systemLang']['userName']; ?>
</th>
    <th width="10%">URI</th>
    <th><?php echo $this->_tpl_vars['systemLang']['time']; ?>
</th>
    <th>ip</th>
    <th><?php echo $this->_tpl_vars['systemLang']['operate']; ?>
</th>
  </tr>
  </thead>
  <tbody>
 <?php $_from = $this->_tpl_vars['adminlogs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['a'] => $this->_tpl_vars['row']):
?>
  <tr class="row0">
   <td><input name="select_id[]" type="checkbox" class="checkbox" id="cb<?php echo $this->_tpl_vars['a']++; ?>
" value="<?php echo $this->_tpl_vars['row']['id']; ?>
" /></td>
    <td><?php echo ((is_array($_tmp=$this->_tpl_vars['row']['description'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 100) : smarty_modifier_truncate($_tmp, 100)); ?>
&nbsp;</td>
    <td><?php echo $this->_tpl_vars['row']['user_true_name']; ?>
&nbsp;</td>
    <td><?php echo $this->_tpl_vars['row']['query_uri']; ?>
&nbsp;</td>
    <td><?php echo ((is_array($_tmp=$this->_tpl_vars['row']['time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d %H:%M:%S") : smarty_modifier_date_format($_tmp, "%Y-%m-%d %H:%M:%S")); ?>
&nbsp;</td>
    <td><?php echo $this->_tpl_vars['row']['client_ip']; ?>
&nbsp;</td>
   	<td>
        <a href="<?php echo @BASEURI; ?>
adminlog/delete/<?php echo $this->_tpl_vars['row']['id']; ?>
" <?php echo @IS_DELETE; ?>
><?php echo $this->_tpl_vars['systemLang']['del']; ?>
</a>
    </td>
  </tr>
  <?php endforeach; endif; unset($_from); ?>
  </tbody>

  <tfoot>
  <tr>
    <td colspan="2">
    <input type="button"  value="<?php echo $this->_tpl_vars['systemLang']['del']; ?>
" onclick="select_control('<?php echo @BASEURI; ?>
adminlog/delete','<?php echo $this->_tpl_vars['systemLang']['confirmDel']; ?>
')" class="button"/>
    <input type="button"  value="<?php echo $this->_tpl_vars['systemLang']['clear']; ?>
" onclick="button_location('<?php echo @BASEURI; ?>
adminlog/delete_all',true)" class="button"/>
    </td>
	<td colspan="3"><?php echo $this->_tpl_vars['page']; ?>
</td>
  </tr>
  </tfoot>
</table>
</form>
<script language="javascript">
	$('#cdate_s').datetimepicker({dateFormat:"yy-mm-dd hh:ii:00",timeFormat:""});
	$('#cdate_e').datetimepicker({dateFormat:"yy-mm-dd hh:ii:00",timeFormat:""});
</script>